package com.disney.dolcn.invitemail.logic;

import java.sql.SQLException;
import java.util.List;

import com.disney.dolcn.invitemail.bean.Coupon;
 
 
/**
 * 
 * @author hawang
 *
 */
public interface InviteLogic { 
	/**
	 * 
	 * @param name
	 * @param email
	 * @param emails
	 * @param req
	 * @return
	 */
	 int addInviteUser(final String name, final String email,final String emails, String path) ;  
	/**
	 * 
	 * @param templetPath
	 */
	void setInviteEmailInfo(String templetPath);
	/**
	 * 
	 * @return
	 */
	List getInviteEmail();
	/**
	 * 
	 * @param ids
	 */
	void setInviteEmail(final String ids);
	/**
	 * 
	 * @param username
	 * @param email
	 * @return
	 * @throws SQLException
	 */
	int getListUser( final String username,final String email) throws SQLException ;
	/**
	 * 
	 * @param name
	 * @param email
	 * @return
	 */
	Coupon getRandomCoupon(String name, String email)throws Exception ;
}
